package com.thinkgem.jeesite.modules.shop.service.receiving;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.shop.dao.receiving.ShopOrderReceivingDao;
import com.thinkgem.jeesite.modules.shop.entity.receiving.ShopOrderReceiving;

/**
 * 购物订单收货信息Service
 * 
 * @author JiangYongKang
 * @version 2016-12-19
 */
@Service
@Transactional(readOnly = true)
public class ShopOrderReceivingService extends CrudService<ShopOrderReceivingDao, ShopOrderReceiving> {

    public ShopOrderReceiving get(String id) {
        return super.get(id);
    }
    
    public List<ShopOrderReceiving> findList(ShopOrderReceiving shopOrderReceiving) {
        return super.findList(shopOrderReceiving);
    }

    public Page<ShopOrderReceiving> findPage(Page<ShopOrderReceiving> page, ShopOrderReceiving shopOrderReceiving) {
        return super.findPage(page, shopOrderReceiving);
    }

    @Transactional(readOnly = false)
    public void save(ShopOrderReceiving shopOrderReceiving) {
        super.save(shopOrderReceiving);
    }

    @Transactional(readOnly = false)
    public void delete(ShopOrderReceiving shopOrderReceiving) {
        super.delete(shopOrderReceiving);
    }

}
